package org.linlinjava.litemall.web.vo;

import java.util.List;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="订单添加商品请求类",description="订单添加商品请求类")
public class OrderGoodsAddRequestVO {

    private Integer orderGoodsId;

	@ApiModelProperty(value = "订单id")
	@NotNull
	private Integer orderId;
	@ApiModelProperty(value = "商品id")
	@NotNull
    private Integer goodsId;
	@ApiModelProperty(value = "设备编号")
	@NotNull
	private String deviceNo;
	@ApiModelProperty(value = "规格id")
	@NotNull
	private Integer specificationId;
	@ApiModelProperty(value = "购买数量")
	@NotNull
	private Integer number;

	@ApiModelProperty(value = "辅料列表")
	private List<OrderGoodsAddAccessoryVO> accessoryList;
	@ApiModelProperty(value = "属性列表")
	private List<OrderGoodsAddPropertyVO> propertyList;
}
